package ${packageName}.model.dto.${dataKey};

import lombok.Data;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.Serializable;

/**
 * 查询${dataName}请求
 */
@Data
public class ${upperDataKey}QueryRequest implements Serializable {

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    public <T> Page<T> toPage() {
        return new Page<>(pageNum, pageSize);
    }

    private static final long serialVersionUID = 1L;
}